/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

export default {
  path: '/feedback',
  component: Layout,
  redirect: 'noRedirect',
  name: 'Feedback',
  meta: {
    title: '反馈信息',
    icon: 'message',
    roles: ['admin']
  },
  alwaysShow: true,
  children: [{
      path: 'ui',
      component: () => import('@/views/feedback/index'),
      name: 'FeedbackUi',
      meta: {
        title: 'UI(反馈)',
        noCache: false,
        class_type: 1,
        roles: ['admin']
      }
    },
    {
      path: 'h5',
      component: () => import('@/views/feedback/index'),
      name: 'FeedbackH5',
      meta: {
        title: '前端(反馈)',
        noCache: false,
        class_type: 2,
        roles: ['admin']
      }
    },
    {
      path: 'Detail',
      component: () => import('@/views/feedback/Detail'),
      name: 'FeedbackDetail',
      hidden: true,
      meta: {
        title: '反馈详情',
        noCache: false,
        roles: ['admin']
      }
    }
  ]
}
